﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FrmLastAddExamUser.aspx.cs" Inherits="ExamV5.WorkExam.FrmLastAddExamUser" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <meta http-equiv="Content-Language" content="zh-cn" />
    <script type="text/javascript"  charset="gb2312"  language="javascript" src="../Image/calendar.js"></script>
    <link href="../Image/STYLE.CSS" rel="stylesheet" type="text/css" />    
    <script type="text/javascript" language="javascript">
        function CheckData() {

            if (document.getElementById("txtBrowUserCode").value == "") {
                alert("请选择补录人员名单！");
                return false;
            }

            return true;
        }
        function ShowBUserList(txtBrowUserName, txtBrowUserCode) {
            var strusername = "";
            var strname = "";
            strname = document.getElementById("txtBrowUserName").value;
            strusername = document.getElementById("txtBrowUserCode").value;
            strtmpusers = textUser(strusername, strname);
            if (strtmpusers != "") {
                strtmpusers = strtmpusers.split("_");
                document.getElementById("txtBrowUserCode").value = strtmpusers[0];
                document.getElementById("txtBrowUserName").value = strtmpusers[1];

            }
        }

        function textUser(usernames, names) {
            strURL = "../ManagSys/FrmSelectUser.aspx?EB=B&TypeValue=W&strFlag=A&ID=<%=intID%>";
            var obj = new Object();
            obj.username = usernames;
            obj.name = names;


            var iWidth = 620;
            var iHeight = 650;
            var iTop = (window.screen.availHeight - 30 - iHeight) / 2;
            var iLeft = (window.screen.availWidth - 10 - iWidth) / 2;
            var strvalue = window.open(strURL, "", "height=" + iHeight + ", width=" + iWidth + ", top=" + iTop + ", left=" + iLeft + ",status=no,toolbar=no,menubar=no,location=no");
            if (strvalue == undefined) {
                return window.returnValue;
            }
            else if (strvalue != "")
                return strvalue;
            else
                return false;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server" >
    <table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
       <tr>
			<td>
				<table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
					<tr height="33">
						<td width="6"><img src="../Image/SHeadLeft.gif" border="0"></td>
						<td align="center" width="130" background="../Image/SHeadLeft1.gif" height="33"><font color="white"><b>补录参考人员</b></font></td>
						<td width="7"><img src="../Image/SHeadLeft2.gif" border="0"></td>
						<td  background="../Image/SHeadLeft3.gif" height="33" width="550"></td>
						<td width="10"><img src="../Image/SHeadLeft4.gif" border="0"></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr height="10">
			<td></td>
		</tr>
		<tr>
		    <td>
            
				<table id="table2" borderColor="#cccccc" cellSpacing="0" borderColorDark="#cccccc" cellPadding="0"
							width="99%" align="center" border="1" class="tableStyle">
							<tr height="35">
								<td bgColor="#d4e5f5">&nbsp;<img src="../Image/MenuICO/Choose23.gif" border="0"  style='POSITION:relative;TOP:3px'><strong> <font color="#003399">一、补录具体参考人员名单</font></strong></td>
							</tr>
                           <tr>
								<td>
									<table id="table3" borderColor="#cccccc" cellSpacing="0" borderColorDark="#cccccc" cellPadding="0"
										width="100%" align="center" border="1" class="tableStyle">
                                        <tr bgColor="#ffffff" height="30">
											<td align="right" width="80"> 测评名称：</td>
											<td align="left">
                                                <asp:Label ID="labExamName" runat="server"></asp:Label>
                                            </td>
										</tr>
                                        <tr bgColor="#f5fcfe" height="30">
											<td align="right" width="80">有效期限：</td>
											<td align="left"><asp:Label ID="labPaperUseTime" runat="server"></asp:Label>
                                            </td>
										</tr>
                                       
                                        <tr bgColor="#ffffff" height="30">
											<td align="right" width="80">已录人员：</td>
											<td align="left"><asp:Label ID="labJoinExamUser" runat="server"></asp:Label>
                                            </td>
										</tr>
                                        
                                        <tr bgColor="#f5fcfe" height="30">
											<td align="right" width="80">补录人员：</td>
											<td align="left"><textarea class="text" style="WIDTH: 450px; HEIGHT: 200px" id="txtBrowUserName" name="txtBrowUserName" rows="5" readOnly cols="54"><%=strBrowUserName%></textarea><a href='#' onfocus='this.blur();' onclick="javascript:ShowBUserList('txtBrowUserName','txtBrowUserCode');"><img alt="选择人员信息" src="../image/butChooseA.gif" border="0" style="POSITION:relative;TOP:-80px"></a>
                                            <br>
                                            <input id="txtBrowUserCode" name="txtBrowUserCode"  type="hidden" value="<%=strBrowUserCode%>">
                                            </td>
										</tr>
                                       
									</table>
                                        	
								</td>
							</tr>
                            
                   </table>	
                   <table id="table1" borderColor="#cccccc" cellSpacing="0" borderColorDark="#ffffff" cellPadding="0"
							width="99%" align="center" border="0"><tr>
								            <td align="center"><br /><asp:Button ID="butEnter" runat="server" Text="提  交" 
                                                    CssClass="but2B"  OnClientClick="return CheckData();" 
                                                    onclick="butEnter_Click" /><asp:Button ID="butClose" runat="server" Text="关  闭" CssClass="but2R" OnClientClick="javascript:window.close();" /><br /><br /></td>
							            </tr>
                   </table>	
                   
            </td>
        </tr> 
         </table>
         
    </form>
</body>
</html>

